using System;
using Microsoft.SPOT;

namespace eHouse
{
    class Rule
    {
        private string id;
        private Object body;
        private string time;

        public Rule(string id, Object body, string time)
        {
            this.id = id;
            this.body = body;
            this.time = time;
        }

        public string ID
        {
            get { return id; }
            set { id = value; }
        }

        public Object Body
        {
            get { return body; }
            set { body = value; }
        }

        public string Time
        {
            get { return time; }
            set { time = value; }
        }
    }
}
